package com.zzy.demo.common.dto.export;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 查询数据
 * @author kaige
 *
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ColHeaderVO implements Serializable{

	private static final long serialVersionUID = 1L;
	
	
	/**
	 * 列的唯一标识
	 */
    @ApiModelProperty("列ID")
    private String columnId;
	
    @ApiModelProperty("列编码")
    private String columnCode;

    @ApiModelProperty("列名称")
    private String columnName;
	
    /**
     * {@link TableFieldTypeEnum}
     *     NUMERIC("02", "数值型"),
    ENUM_EXT("07", "枚举文本型"),
    DATE("03", "日期型（年月日)"),
    TEXT("01", "文字文本型"),
    IMG("04", "图片"),
    VIDEO("06", "视频"),
    AUDIO("05", "音频"),
    OTHER("99", "其他"),
     */
    @ApiModelProperty("字段类型")
    private String fieldType;

    
    @ApiModelProperty("是否属于报表指标 0否 1是 ")
    private String belongIndicator;
    
    
    @ApiModelProperty("物理表名称")
    private String physicsTableName;

    @ApiModelProperty("表类型 01一维表 02二维定长 03二维不定长")
    private String tableType;
	
	
	/**
	 * 指标的ID
	 */
    @ApiModelProperty("指标的ID")
	private String indicatorId;
	
	/**
	 * 指标的精度
	 */
    @ApiModelProperty("指标的精度")
	private Integer dataDecimals;
	
    /**
     * 指标的值域
     */
    @ApiModelProperty("指标的值域")
	private String valueDomain;
	
	
    @ApiModelProperty("是否可以翻译")
	private boolean translateFlag;
	
	/**
	 * 页面显示的最小列宽
	 */
    @ApiModelProperty("最小列宽")
	private int minWidth;
	
	/**
	 * 对齐方式
	 */
    @ApiModelProperty("对齐方式")
	private String align;
    
    
    @ApiModelProperty("支持排序")
	private boolean sortable;

}
